//
//  PM25View.m
//  天气预报
//
//  Created by mac on 16/1/21.
//  Copyright © 2016年 YF_S. All rights reserved.
//

#import "PM25View.h"

@implementation PM25View

-(void)setPm25Model:(PM25Model *)pm25Model{

    _pm25Model = pm25Model;
    
    _cityName.text = _pm25Model.cityName;
    
    _dateTime.text = [NSString stringWithFormat:@"截止时间:%@",_pm25Model.dateTime];
    
    _curPm.text = [NSString stringWithFormat:@"curPM:%@",_pm25Model.pm_model.curPm];
    
    _pm25.text = [NSString stringWithFormat:@"pm2.5:%@",_pm25Model.pm_model.pm25];
    
    _pm10.text = [NSString stringWithFormat:@"pm10:%@",_pm25Model.pm_model.pm10];
    
    _quality.text = [NSString stringWithFormat:@"空气质量:%@",_pm25Model.pm_model.quality];
    
    _level.text = [NSString stringWithFormat:@"%@",_pm25Model.pm_model.level];
    
    _des.text = [NSString stringWithFormat:@"建议:%@",_pm25Model.pm_model.des];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
